﻿using System;
using System.Collections.Generic;
using System.Text;
using EnCor.ObjectBuilder;

namespace EnCor.Security
{
    [Assembler(typeof(WindowsAuthenticationAdapterAssembler))]
    public class WindowsAuthenticationAdapterConfig : AuthenticationAdapterConfig
    {

    }

    public class WindowsAuthenticationAdapterAssembler : IAssembler<IAuthenticationAdapter, AuthenticationAdapterConfig>
    {
        #region IAssembler<IAuthenticationAdapter,AuthenticationAdapterConfig> Members

        public IAuthenticationAdapter Assemble(IBuilderContext context, AuthenticationAdapterConfig objectConfiguration)
        {
            return new WindowsAuthenticationAdapter();
        }

        #endregion
    }

}
